<HTML>
  <HEAD>
    <TITLE>threadpool Documentation</TITLE>
    <LINK HREF="threadpool.css" REL="stylesheet" TYPE="text/css">
  </HEAD>
  <BODY BGCOLOR="#FFFFFF">

    <DIV CLASS="qindex">
      <TABLE BORDER="0" WIDTH="100%">
        <TR>

          <TD ALIGN="LEFT">
            <B>threadpool</B>
          </TD>
          <TD ALIGN="RIGHT">
            <A CLASS="qindex" HREF="../index.html">Overview</A> |
            <A CLASS="qindex" HREF="../reference/annotated.html">Reference</A> |
            <A CLASS="qindex" HREF="../tutorial/intro.html">Tutorial</A> |
            <A CLASS="qindex" HREF="../examples/intro.html">Examples</A> |
            <A CLASS="qindex" HREF="../design/intro.html">Design</A>
          </TD>

        </TR>
      </TABLE>
    </DIV>
    <DIV CLASS="qindex">
      <TABLE BORDER="0" WIDTH="100%">
        <TR>
          <TD ALIGN="LEFT">
            <B>Reference</B>
          </TD>
          <TD ALIGN="RIGHT">
            <A CLASS="qindex" HREF="annotated.html">Class List</A> |
            <A CLASS="qindex" HREF="functions.html">Member Functions</A> |
            <A CLASS="qindex" HREF="namespacemembers.html">Typedefs</A> |
            <A CLASS="qindex" HREF="files.html">File List</A>
          </TD>
        </TR>
      </TABLE>
    </DIV>
<!-- Generated by Doxygen 1.6.1 -->
  <div class="navpath"><a class="el" href="a00022.html">boost</a>::<a class="el" href="a00023.html">threadpool</a>::<a class="el" href="a00013.html">wait_for_all_tasks</a>
  </div>
<div class="contents">
<h1>boost::threadpool::wait_for_all_tasks&lt; Pool &gt; Class Template Reference</h1><!-- doxytag: class="boost::threadpool::wait_for_all_tasks" -->
<p>ShutdownPolicy which waits for the completion of all tasks and the worker termination afterwards.  
<a href="#_details">More...</a></p>

<p><a href="a00036.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#ab5b9b7558e13bf15a163d5f6a85c8a90">shutdown</a> (Pool &amp;<a class="el" href="a00011.html">pool</a>)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename Pool&gt;<br/>
 class boost::threadpool::wait_for_all_tasks&lt; Pool &gt;</h3>

<p>ShutdownPolicy which waits for the completion of all tasks and the worker termination afterwards. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Pool</em>&nbsp;</td><td>The pool's core type. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00019_source.html#l00035">35</a> of file <a class="el" href="a00019_source.html">shutdown_policies.hpp</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab5b9b7558e13bf15a163d5f6a85c8a90"></a><!-- doxytag: member="boost::threadpool::wait_for_all_tasks::shutdown" ref="ab5b9b7558e13bf15a163d5f6a85c8a90" args="(Pool &amp;pool)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Pool &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="a00013.html">boost::threadpool::wait_for_all_tasks</a>&lt; Pool &gt;::shutdown </td>
          <td>(</td>
          <td class="paramtype">Pool &amp;&nbsp;</td>
          <td class="paramname"> <em>pool</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="a00019_source.html#l00038">38</a> of file <a class="el" href="a00019_source.html">shutdown_policies.hpp</a>.</p>

</div>
</div>
</div>
    <BR>
    <DIV CLASS="qindex">
      <TABLE BORDER="0" WIDTH="100%">
        <TR>
		  <TD CLASS="tiny" ALIGN="LEFT">Copyright &copy 2005-2008 Philipp Henkel</TD>
          <TD ALIGN="RIGHT">
            <A CLASS="qindex" HREF="../index.html">Overview</A> |
            <A CLASS="qindex" HREF="../reference/annotated.html">Reference</A> |
            <A CLASS="qindex" HREF="../tutorial/intro.html">Tutorial</A> |
            <A CLASS="qindex" HREF="../examples/intro.html">Examples</A> |
            <A CLASS="qindex" HREF="../design/intro.html">Design</A>
          </TD>
        </TR>       
      </TABLE>
    </DIV>  
  </BODY>
</HTML>
